home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / WINDOWS / SSAPI10.ZIP / SSTEST.ZIP / DATA.CPP next >
Encoding:
C/C++ Source or Header  |  1996-09-26  |  1.7 KB  |  81 lines

  1. // data.cpp : implementation file
  2. //
  3. /******************************************************************************\
  4. *
  5. * (C) Copyright 1996 by Shetef Solutions Ltd.
  6. *
  7. * Address:
  8. *        Shetef Solutions Ltd.
  9. *        P. O. Box 7938
  10. *        Haifa 31078
  11. *        ISRAEL
  12. *
  13. * Email :     Support@shetef.com
  14. * WWW:        http://www.shetef.com
  15. * Tel:        +972-4-8260064
  16. * Fax:        +972-6-271210
  17. *
  18. \******************************************************************************/
  19.  
  20.  
  21. #include "stdafx.h"
  22. #include "sstest.h"
  23. #include "data.h"
  24.  
  25. #ifdef _DEBUG
  26. #undef THIS_FILE
  27. static char BASED_CODE THIS_FILE[] = __FILE__;
  28. #endif
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CData dialog
  32.  
  33.  
  34. CData::CData(CWnd* pParent /*=NULL*/)
  35.     : CDialog(CData::IDD, pParent)
  36. {
  37.     //{{AFX_DATA_INIT(CData)
  38.     m_Data = _T("");
  39.     m_bSubDir = FALSE;
  40.     m_bExclude = FALSE;
  41.     //}}AFX_DATA_INIT
  42. }
  43.  
  44.  
  45. void CData::DoDataExchange(CDataExchange* pDX)
  46. {
  47.     CDialog::DoDataExchange(pDX);
  48.     //{{AFX_DATA_MAP(CData)
  49.     DDX_Text(pDX, IDC_EDIT1, m_Data);
  50.     DDX_Check(pDX, IDC_SUBSIR, m_bSubDir);
  51.     DDX_Check(pDX, IDC_EXCLUDE, m_bExclude);
  52.     //}}AFX_DATA_MAP
  53. }
  54.  
  55.  
  56. BEGIN_MESSAGE_MAP(CData, CDialog)
  57.     //{{AFX_MSG_MAP(CData)
  58.     //}}AFX_MSG_MAP
  59. END_MESSAGE_MAP()
  60.  
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63. // CData message handlers
  64.  
  65. void CData::OnOK() 
  66. {
  67.     // TODO: Add extra validation here
  68.     
  69.     CDialog::OnOK();
  70. }
  71.  
  72. BOOL CData::OnInitDialog() 
  73. {
  74.     CDialog::OnInitDialog();
  75.     
  76.     // TODO: Add extra initialization here
  77.     
  78.     return TRUE;  // return TRUE unless you set the focus to a control
  79.                   // EXCEPTION: OCX Property Pages should return FALSE
  80. }
  81.